export const tableComponentConfig = {
  removeButton: () =>
    import('@/common/views/baseComponent/tableComp/removeButton.vue'),
};

export const tableRenderConfig: any = {
  index: {
    title: '序号',
    dataIndex: 'index',
    slotName: 'index',
    // render: (row: any) => row.rowIndex + 1,
  },
  secretLevel: {
    title: '密级',
    dataIndex: 'secretLevel',
    componentName: 'secretLevel',
  },
  periodNumber: {
    title: '期段号',
    dataIndex: 'periodNumber',
  },
  accountingYear: {
    title: '会计年度',
    dataIndex: 'accountingYear',
  },
  startTime: {
    title: '开始日期',
    dataIndex: 'startTime',
  },
  endTime: {
    title: '结束日期',
    dataIndex: 'endTime',
  },
  periodType: {
    title: '期段类型',
    dataIndex: 'periodTypeName',
  },
  applicationType: {
    title: '应用类型',
    dataIndex: 'applicationType',
  },
  operate: {
    title: '操作',
    dataIndex: 'operate',
    slotName: 'operate',
  },
};
